<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;

class Role extends Model{
    protected $table = "role";
    protected $dateFormat = 'Y-m-d H:i:s';
    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
        'delete_at' => 'datetime:Y-m-d H:i:s',
    ];
    protected $guarded = array('id', 'name');
    protected $fillable = ['name','status','content','created_at','updated_at','delete_at'];

}
